package com.jmlee.mapper;

import com.jmlee.pojo.Users;
import org.apache.ibatis.annotations.Param;

/**
 * @Description
 * @Author jmLee
 * @Date 2021/3/1 23:36
 * @Version 1.0
 */
public interface UsersMapper {

    Users selectUserById(Long userId);

    Users selectUserByOpenId(String openid);

    Long insertUser(@Param("user") Users user);

}
